// 
// Bachelor of Software Engineering
// Media Design School
// Auckland
// New Zealand
//
// (c) 2005 - 2014 Media Design School
//
// File Name	: HumanView.h
// Desrciption	: CSpaceInvadersHumanView declaration file.
// Author		: Hayden Asplet.
// Mail			: hayden.asplet@mediadesignschool.com
//

// PCH
#include "GameStd.h"

// Library Includes

// This Include
#include "

// Local Includes

CSpaceInvadersHumanView::CSpaceInvadersHumanView()
{
}

CSpaceInvadersHumanView::~CSpaceInvadersHumanView()
{

}

void CSpaceInvadersHumanView::VUpdate(float _fDeltaTime)
{

}

void CSpaceInvadersHumanView::VRender(float _fDeltaTime)
{
	CGameObject attachedObject = g_pApp->m_pGame->GetGameObject(m_objectId);

	if(attachedObject) {

	}
}

bool CSpaceInvadersHumanView::VMsgProc(const CAppMsg& _krMsg)
{
	switch(_krMsg.m_uMsg) {
		case WM_KEYDOWN: {
			return true;

			break;
		}
		case WM_KEYUP: {
			return true;

			break;
		}
		case WM_MOUSEMOVE: {
			return true;

			break;
		}
		case WM_LBUTTONDOWN: {
			return true;

			break;
		}
		case WM_LBUTTONUP: {
			return true;

			break;
		}
		case WM_RBUTTONDOWN: {
			return true;

			break;
		}
		case WM_RBUTTONUP: {
			return true;

			break;
		}
		default: break;
	}

	return CHumanView::VMsgProc(_krMsg);
}

void CSpaceInvadersHumanView::VAttach(TGameObjectId _id)
{
	m_objectId = _id;
}
